<legend class='hyc-legend'>
    <i class="fa fa-user-secret"></i>&nbsp;
    <span>添加企业用户</span>
</legend>
<div class="panel panel-default">
    <div class="panel-heading">添加企业用户</div>
    <div class="panel-body admin">
        <div class="row">
            <div class="col-md-offset-3 col-md-6">
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">真实姓名：</div>
                    <div class="col-md-8">
                        <input class="input" type="text" ng-model="signUserObj.realName" placeholder="请输入真实姓名">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">登录名称：</div>
                    <div class="col-md-8">
                        <input class="input" type="text" ng-model="signUserObj.name" placeholder="请输入登录名称（包括：数字、字母、_）">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">手机号码：</div>
                    <div class="col-md-8">
                        <input class="input" type="number" ng-model="signUserObj.phone" placeholder="请输入手机号码">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right top7">公司类型：</div>
                    <div class="col-md-8">
                        <div class="form-group">
                            <button type="button" class="btn btn-default admin-select select" ng-change="loadCompany()" ng-model="signUserObj.companyCategory" bs-options="categoryList.code as categoryList.name for categoryList in categoryList" bs-select placeholder="---请选择---">
                            </button>
                        </div>
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">公司编码：</div>
                    <div class="col-md-8">
                        <div class="form-group">
                            <button type="button" class="btn btn-default admin-select select" ng-model="signUserObj.companyCode" bs-options="c.id as c.companyName for c in company" bs-select placeholder="---请选择---" max-length-html="个被选中" allText="选中全部" noneText="没有选中">
                                <option value="">--请选择--</option>
                            </button>
                        </div>
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">公司邮箱：</div>
                    <div class="col-md-8">
                        <input class="input" type="email" ng-model="signUserObj.email" placeholder="请输入公司邮箱">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-offset-3 col-md-6 text-center">
                        <div class="btn btn btn-warning" onclick="javascript: history.go(-1);">返回</div>
                    </div>
                    <div class="col-md-3 text-center">
                        <div class="btn btn btn-warning" ng-click="save()">保存</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>